#include "stdafx.h"
#include <string>

DESCRIPTION_11_TEST_SUITE_CTOR(PerVertexInputElementDescription, ("POSITION"))

BOOST_FIXTURE_TEST_CASE(Default, TestPerVertexInputElementDescription)
{
	BOOST_REQUIRE_EQUAL(std::string("POSITION"), m_desc.SemanticName);
	BOOST_REQUIRE_EQUAL(DXGI_FORMAT_UNKNOWN, m_desc.Format);
	BOOST_REQUIRE_EQUAL(0, m_desc.InputSlot);
	BOOST_REQUIRE_EQUAL(D3D11_APPEND_ALIGNED_ELEMENT, m_desc.AlignedByteOffset);
	BOOST_REQUIRE_EQUAL(D3D11_INPUT_PER_VERTEX_DATA, m_desc.InputSlotClass);
	BOOST_REQUIRE_EQUAL(0, m_desc.InstanceDataStepRate);
}

BOOST_AUTO_TEST_SUITE_END()
